import request from '@/utils/request'

export function getIndexData(data) {
  return request({
    url: '/indexdata',
    method: 'post',
    data,
  })
}

export function getPower(data) {
  return request({
    url: '/getindexpagedata',
    method: 'post',
    data,
  })
}

//更新用户当前权限
export function upusertemproles(data) {
  return request({
    url: '/upusertemprole',
    method: 'post',
    data,
  })
}
